<!-- File: /app/Model/Especialidad.php -->

<?php
    class Especialidad extends AppModel {
        public $useTable = "Especialidades";
        public $validate = array(
            "descripcion" => array(
                "rule" => "notEmpty"
            )
        );
        
        public $belongsTo = array(
            "Campo" => array(
                "foreignKey" => "Campos_id"
            )
        );
    }
?>
